package com.spark.mapstruct.entity;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
//消费记录表
public class ExpensesRecords implements Serializable {
    private Integer id;

    //交易流水号（随便生成唯一编号）
    private String tradeId;

    //员工号
    private String userCode;

    //服务商id
    private String serviceId;

    //服务商名称
    private String serviceName;

    //餐厅编号
    private String restaurantCode;

    //餐厅名称
    private String restaurantName;

    //机器号
    private String machineCode;

    //消费类型（1:食堂用餐、2:网点消费、3:自助贩卖机消费）
    private String expensesType;

    //消费金额
    private BigDecimal amount;

    //消费时间
    private LocalDateTime expensesDate;
}